package com.cyzy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyzy.pojo.RolePermission;

import java.util.List;

public interface RolePermissionService extends IService<RolePermission> {
    List<RolePermission> selectRolePermissionList();

    List<RolePermission> searchworkersAll(String menuName,String role, Integer rolePermissionState);


    List<RolePermission> selectRolePermissionById(String role);

    int updateManage(Integer roleId, String role, Integer rolePermissionState, String description);

    int deleteState(String id, String state);

    int deleteStateByIds(List<String> ids, String state);

    List<RolePermission> selectRolePermissionList1();
}
